<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8"/>
        <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0" />
        <meta name="format-detection" content="telephone=no" />
        <meta content="yes" name="mobile-web-app-capable">
        <meta content="yes" name="apple-mobile-web-app-capable" />
        <meta http-equiv="Cache-Control" content="no-siteapp" />
        <title>{php echo $theme['jubf'].'-';}{php echo !empty($theme['USERCOMPANYNAME'])?$theme['USERCOMPANYNAME']:$_G['companyname'];}</title>
        <script type="text/javascript">
            var deviceWidth = document.documentElement.clientWidth;
            if(deviceWidth > 414)
                 deviceWidth = 540; 
            document.documentElement.style.fontSize = deviceWidth / 7.5 + 'px';
        </script>
        <link rel="stylesheet" type="text/css" href="{$_G['URL']['WORKER_CSS']}css/reset.css">
        <link rel="stylesheet" type="text/css" href="{$_G['URL']['WORKER_CSS']}css/index.css">
        <link rel="stylesheet" type="text/css" href="{$_G['URL']['WORKER_CSS']}css/ui.css">
        <script type="text/javascript" src="{$_G['URL']['WORKER_CSS']}js/rem.js"></script>
        <script type="text/javascript" src="{$_G['URL']['WORKER_CSS']}js/jquery.js"></script>
        <script src="{$_G['URL']['WORKER_CSS']}js/lCalendar.js"></script>
        <link rel="stylesheet" href="{$_G['URL']['WORKER_CSS']}css/lCalendar.css">
        <style type="text/css">
            input {
                width: 100%;
                height: 0.4rem;
                font-size: 0.3rem;
                border-radius: 5px;
                margin-top: 0.05rem;
                padding: 0.05rem 0.1rem;
            }
        </style>
    </head>
    <body>
        <header class="order_header" style="font-size: 0.5rem;">
            <!-- <div class="go_back">
                <img src="{$_G['URL']['WORKER_CSS']}images/order_03.png">
                返回首页
            </div> -->
            {php echo !empty($theme['USERCOMPANYNAME'])?$theme['USERCOMPANYNAME']:$_G['companyname'];}・微信营销专家
        </header>


        <div class="s_items s_bg">
            <div class="s_title">
                <img src="{$_G['URL']['WORKER_CSS']}images/title_17.png">
                系统初始化设置
            </div>
        </div>

        <form action='{php echo "/".createMobileUrl($do,array("op"=>"save","themeid"=>$themeid));}' method="post">  
            <div class="lmsz_cont">

                <div class="item">
                    <p><span style="color: #ff0000">*</span>活动主标题</p>
                    <input type="text" id="jubf" name="jubf" placeholder="展示在打开活动链接的最顶部" value="{$theme['title']}" />
                </div>
                <div class="item">
                    <p><span style="color: #ff0000">*</span>活动副标题</p>
                    <input type="text" id="jubf" name="jubf" placeholder="展示在打开活动链接的最顶部" value="{$theme['desc']}" />
                </div>
                <div class="item">
                    <p><span style="color: #ff0000">*</span>添加员工密码 (扫码添加员工,需要输入,请截屏保存)</p>
                    <input type="text" id="password" name="password" placeholder="为空系统自动生成"  value="{$config['password']}"/>
                </div>

                <div class="item">
                    <p><span style="color: #ff0000">*</span>管理员密码 (扫码添加管理员(老板,店长,老师),需要输入)</p>
                    <input type="text" id="adminpass" name="adminpass" placeholder="为空系统自动生成"  value="{$config['adminpass']}"/>
                </div>

                <div class="item">
                    <p>团队1</p>
                    <input type="text" id="tuan1" name="tuan1" placeholder="如:精英队" />
                </div>
                <div class="item">
                    <p>团队2</p>
                    <input type="text" id="tuan2" name="tuan2" placeholder="如:超越队" />
                </div>
                <div class="item">
                    <p>团队3</p>
                    <input type="text" id="tuan3" name="tuan3" placeholder="如:战狼队" />
                </div>
                <p>后续更改,可在后台首页,团队设置里</p>
                <!-- <div class="item">
                    <p>活动结束时间</p>
                    <input id="demo2" type="text" readonly="" name="input_date" placeholder="活动结束时间" data-lcalendar="2010-01-11,2019-12-31" />
                </div>
                <div class="item">
                    <p>售价</p>
                    <input type="number" placeholder="29.90" />
                </div>
                <div class="item">
                    <p>线下定单数</p>
                    <input type="number" placeholder="1233" />
                </div> -->
                <div class="l_btn" style="text-align: center;">
                    <a class="l_btn" href="{php echo "/".createMobileUrl('w_addworker',array("themeid"=>$themeid));}" >下一步(截屏保存非常重要)</a>
                </div>
                <div class="l_btn" style="text-align: center;">
                    <a  href="{php echo "/".createMobileUrl($do,array("op"=>"edit","themeid"=>$themeid));}"  >返回修改</a>
                </div>
                <div style="height: 50px; text-align: center;">密码如果遗忘,可以在电脑版后台进行修改<br>活动管理->活动编辑->其它设置->进行修改</div>
            </div>
        </form>
        <script>
            var calendardatetime = new lCalendar();
            calendardatetime.init({
                'trigger': '#demo2',
                'type': 'datetime'
            });
        </script> 
    </body>
</html>

<script type="text/javascript" src="{$_G['URL']['WORKER_CSS']}js/js.js"></script>

